package com.trafficsys.modules.police.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.trafficsys.modules.entity.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

@Data//lombok生成get set方法
public class DriverAndIdCard extends Page {
    private int id;
    private String cardId;
    private String phone;
    private String address;
    private String birthday;
    private String department;
    private String name;
    private String state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp validity;//有效期限
}
